package com.cloud.base.domain.dto;

import com.cloud.core.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author haohaibo
 * @since 2023-08-01
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "SysDeptDto")
public class SysDeptDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "部门id")
    private String deptId;

    @Schema(description = "父部门id")
    private String parentId;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "选中状态")
    private Boolean checked;

    private List<SysDeptDto> children;

}
